Integrand size = 21, antiderivative size = 196 \[ \int \left (a+b x^2\right )^2 \left (c+d x^2\right )^{3/2} \, dx=\frac {c \left (3 b^2 c^2-16 a b c d+48 a^2 d^2\right ) x \sqrt {c+d x^2}}{128 d^2}+\frac {\left (3 b^2 c^2-16 a b c d+48 a^2 d^2\right ) x \left (c+d x^2\right )^{3/2}}{192 d^2}-\frac {b (3 b c-10 a d) x \left (c+d x^2\right )^{5/2}}{48 d^2}+\frac {b x \left (a+b x^2\right ) \left (c+d x^2\right )^{5/2}}{8 d}+\frac {c^2 \left (3 b^2 c^2-16 a b c d+48 a^2 d^2\right ) \text {arctanh}\left (\frac {\sqrt {d} x}{\sqrt {c+d x^2}}\right )}{128 d^{5/2}} \]
[Out]
Time = 0.08 (sec) , antiderivative size = 196, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.238, Rules used = {427, 396, 201, 223, 212} \[ \int \left (a+b x^2\right )^2 \left (c+d x^2\right )^{3/2} \, dx=\frac {c^2 \left (48 a^2 d^2-16 a b c d+3 b^2 c^2\right ) \text {arctanh}\left (\frac {\sqrt {d} x}{\sqrt {c+d x^2}}\right )}{128 d^{5/2}}+\frac {x \left (c+d x^2\right )^{3/2} \left (48 a^2 d^2-16 a b c d+3 b^2 c^2\right )}{192 d^2}+\frac {c x \sqrt {c+d x^2} \left (48 a^2 d^2-16 a b c d+3 b^2 c^2\right )}{128 d^2}-\frac {b x \left (c+d x^2\right )^{5/2} (3 b c-10 a d)}{48 d^2}+\frac {b x \left (a+b x^2\right ) \left (c+d x^2\right )^{5/2}}{8 d} \]
[In]
[Out]
Rule 201
Rule 212
Rule 223
Rule 396
Rule 427
Rubi steps \begin{align*} \text {integral}& = \frac {b x \left (a+b x^2\right ) \left (c+d x^2\right )^{5/2}}{8 d}+\frac {\int \left (c+d x^2\right )^{3/2} \left (-a (b c-8 a d)-b (3 b c-10 a d) x^2\right ) \, dx}{8 d} \\ & = -\frac {b (3 b c-10 a d) x \left (c+d x^2\right )^{5/2}}{48 d^2}+\frac {b x \left (a+b x^2\right ) \left (c+d x^2\right )^{5/2}}{8 d}-\frac {(-b c (3 b c-10 a d)+6 a d (b c-8 a d)) \int \left (c+d x^2\right )^{3/2} \, dx}{48 d^2} \\ & = \frac {\left (3 b^2 c^2-16 a b c d+48 a^2 d^2\right ) x \left (c+d x^2\right )^{3/2}}{192 d^2}-\frac {b (3 b c-10 a d) x \left (c+d x^2\right )^{5/2}}{48 d^2}+\frac {b x \left (a+b x^2\right ) \left (c+d x^2\right )^{5/2}}{8 d}+\frac {\left (c \left (3 b^2 c^2-16 a b c d+48 a^2 d^2\right )\right ) \int \sqrt {c+d x^2} \, dx}{64 d^2} \\ & = \frac {c \left (3 b^2 c^2-16 a b c d+48 a^2 d^2\right ) x \sqrt {c+d x^2}}{128 d^2}+\frac {\left (3 b^2 c^2-16 a b c d+48 a^2 d^2\right ) x \left (c+d x^2\right )^{3/2}}{192 d^2}-\frac {b (3 b c-10 a d) x \left (c+d x^2\right )^{5/2}}{48 d^2}+\frac {b x \left (a+b x^2\right ) \left (c+d x^2\right )^{5/2}}{8 d}+\frac {\left (c^2 \left (3 b^2 c^2-16 a b c d+48 a^2 d^2\right )\right ) \int \frac {1}{\sqrt {c+d x^2}} \, dx}{128 d^2} \\ & = \frac {c \left (3 b^2 c^2-16 a b c d+48 a^2 d^2\right ) x \sqrt {c+d x^2}}{128 d^2}+\frac {\left (3 b^2 c^2-16 a b c d+48 a^2 d^2\right ) x \left (c+d x^2\right )^{3/2}}{192 d^2}-\frac {b (3 b c-10 a d) x \left (c+d x^2\right )^{5/2}}{48 d^2}+\frac {b x \left (a+b x^2\right ) \left (c+d x^2\right )^{5/2}}{8 d}+\frac {\left (c^2 \left (3 b^2 c^2-16 a b c d+48 a^2 d^2\right )\right ) \text {Subst}\left (\int \frac {1}{1-d x^2} \, dx,x,\frac {x}{\sqrt {c+d x^2}}\right )}{128 d^2} \\ & = \frac {c \left (3 b^2 c^2-16 a b c d+48 a^2 d^2\right ) x \sqrt {c+d x^2}}{128 d^2}+\frac {\left (3 b^2 c^2-16 a b c d+48 a^2 d^2\right ) x \left (c+d x^2\right )^{3/2}}{192 d^2}-\frac {b (3 b c-10 a d) x \left (c+d x^2\right )^{5/2}}{48 d^2}+\frac {b x \left (a+b x^2\right ) \left (c+d x^2\right )^{5/2}}{8 d}+\frac {c^2 \left (3 b^2 c^2-16 a b c d+48 a^2 d^2\right ) \tanh ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {c+d x^2}}\right )}{128 d^{5/2}} \\ \end{align*}
Time = 0.21 (sec) , antiderivative size = 158, normalized size of antiderivative = 0.81 \[ \int \left (a+b x^2\right )^2 \left (c+d x^2\right )^{3/2} \, dx=\frac {\sqrt {d} x \sqrt {c+d x^2} \left (48 a^2 d^2 \left (5 c+2 d x^2\right )+16 a b d \left (3 c^2+14 c d x^2+8 d^2 x^4\right )+b^2 \left (-9 c^3+6 c^2 d x^2+72 c d^2 x^4+48 d^3 x^6\right )\right )-3 c^2 \left (3 b^2 c^2-16 a b c d+48 a^2 d^2\right ) \log \left (-\sqrt {d} x+\sqrt {c+d x^2}\right )}{384 d^{5/2}} \]
[In]
[Out]
Time = 2.94 (sec) , antiderivative size = 144, normalized size of antiderivative = 0.73
method | result | size |
pseudoelliptic | \(\frac {\frac {\left (3 a^{2} c^{2} d^{2}-a b \,c^{3} d +\frac {3}{16} b^{2} c^{4}\right ) \operatorname {arctanh}\left (\frac {\sqrt {d \,x^{2}+c}}{x \sqrt {d}}\right )}{8}+\frac {5 x \sqrt {d \,x^{2}+c}\, \left (c \left (\frac {3}{10} b^{2} x^{4}+\frac {14}{15} a b \,x^{2}+a^{2}\right ) d^{\frac {5}{2}}+\frac {\left (b^{2} x^{6}+\frac {8}{3} a b \,x^{4}+2 a^{2} x^{2}\right ) d^{\frac {7}{2}}}{5}+\frac {b \,c^{2} \left (\left (\frac {b \,x^{2}}{8}+a \right ) d^{\frac {3}{2}}-\frac {3 b \sqrt {d}\, c}{16}\right )}{5}\right )}{8}}{d^{\frac {5}{2}}}\) | \(144\) |
risch | \(\frac {x \left (48 b^{2} d^{3} x^{6}+128 a b \,d^{3} x^{4}+72 b^{2} c \,d^{2} x^{4}+96 a^{2} d^{3} x^{2}+224 a b c \,d^{2} x^{2}+6 b^{2} c^{2} d \,x^{2}+240 c \,a^{2} d^{2}+48 a b \,c^{2} d -9 b^{2} c^{3}\right ) \sqrt {d \,x^{2}+c}}{384 d^{2}}+\frac {c^{2} \left (48 a^{2} d^{2}-16 a b c d +3 b^{2} c^{2}\right ) \ln \left (x \sqrt {d}+\sqrt {d \,x^{2}+c}\right )}{128 d^{\frac {5}{2}}}\) | \(157\) |
default | \(a^{2} \left (\frac {x \left (d \,x^{2}+c \right )^{\frac {3}{2}}}{4}+\frac {3 c \left (\frac {x \sqrt {d \,x^{2}+c}}{2}+\frac {c \ln \left (x \sqrt {d}+\sqrt {d \,x^{2}+c}\right )}{2 \sqrt {d}}\right )}{4}\right )+b^{2} \left (\frac {x^{3} \left (d \,x^{2}+c \right )^{\frac {5}{2}}}{8 d}-\frac {3 c \left (\frac {x \left (d \,x^{2}+c \right )^{\frac {5}{2}}}{6 d}-\frac {c \left (\frac {x \left (d \,x^{2}+c \right )^{\frac {3}{2}}}{4}+\frac {3 c \left (\frac {x \sqrt {d \,x^{2}+c}}{2}+\frac {c \ln \left (x \sqrt {d}+\sqrt {d \,x^{2}+c}\right )}{2 \sqrt {d}}\right )}{4}\right )}{6 d}\right )}{8 d}\right )+2 a b \left (\frac {x \left (d \,x^{2}+c \right )^{\frac {5}{2}}}{6 d}-\frac {c \left (\frac {x \left (d \,x^{2}+c \right )^{\frac {3}{2}}}{4}+\frac {3 c \left (\frac {x \sqrt {d \,x^{2}+c}}{2}+\frac {c \ln \left (x \sqrt {d}+\sqrt {d \,x^{2}+c}\right )}{2 \sqrt {d}}\right )}{4}\right )}{6 d}\right )\) | \(235\) |
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 344, normalized size of antiderivative = 1.76 \[ \int \left (a+b x^2\right )^2 \left (c+d x^2\right )^{3/2} \, dx=\left [\frac {3 \, {\left (3 \, b^{2} c^{4} - 16 \, a b c^{3} d + 48 \, a^{2} c^{2} d^{2}\right )} \sqrt {d} \log \left (-2 \, d x^{2} - 2 \, \sqrt {d x^{2} + c} \sqrt {d} x - c\right ) + 2 \, {\left (48 \, b^{2} d^{4} x^{7} + 8 \, {\left (9 \, b^{2} c d^{3} + 16 \, a b d^{4}\right )} x^{5} + 2 \, {\left (3 \, b^{2} c^{2} d^{2} + 112 \, a b c d^{3} + 48 \, a^{2} d^{4}\right )} x^{3} - 3 \, {\left (3 \, b^{2} c^{3} d - 16 \, a b c^{2} d^{2} - 80 \, a^{2} c d^{3}\right )} x\right )} \sqrt {d x^{2} + c}}{768 \, d^{3}}, -\frac {3 \, {\left (3 \, b^{2} c^{4} - 16 \, a b c^{3} d + 48 \, a^{2} c^{2} d^{2}\right )} \sqrt {-d} \arctan \left (\frac {\sqrt {-d} x}{\sqrt {d x^{2} + c}}\right ) - {\left (48 \, b^{2} d^{4} x^{7} + 8 \, {\left (9 \, b^{2} c d^{3} + 16 \, a b d^{4}\right )} x^{5} + 2 \, {\left (3 \, b^{2} c^{2} d^{2} + 112 \, a b c d^{3} + 48 \, a^{2} d^{4}\right )} x^{3} - 3 \, {\left (3 \, b^{2} c^{3} d - 16 \, a b c^{2} d^{2} - 80 \, a^{2} c d^{3}\right )} x\right )} \sqrt {d x^{2} + c}}{384 \, d^{3}}\right ] \]
[In]
[Out]
Time = 0.39 (sec) , antiderivative size = 330, normalized size of antiderivative = 1.68 \[ \int \left (a+b x^2\right )^2 \left (c+d x^2\right )^{3/2} \, dx=\begin {cases} \sqrt {c + d x^{2}} \left (\frac {b^{2} d x^{7}}{8} + \frac {x^{5} \cdot \left (2 a b d^{2} + \frac {9 b^{2} c d}{8}\right )}{6 d} + \frac {x^{3} \left (a^{2} d^{2} + 4 a b c d + b^{2} c^{2} - \frac {5 c \left (2 a b d^{2} + \frac {9 b^{2} c d}{8}\right )}{6 d}\right )}{4 d} + \frac {x \left (2 a^{2} c d + 2 a b c^{2} - \frac {3 c \left (a^{2} d^{2} + 4 a b c d + b^{2} c^{2} - \frac {5 c \left (2 a b d^{2} + \frac {9 b^{2} c d}{8}\right )}{6 d}\right )}{4 d}\right )}{2 d}\right ) + \left (a^{2} c^{2} - \frac {c \left (2 a^{2} c d + 2 a b c^{2} - \frac {3 c \left (a^{2} d^{2} + 4 a b c d + b^{2} c^{2} - \frac {5 c \left (2 a b d^{2} + \frac {9 b^{2} c d}{8}\right )}{6 d}\right )}{4 d}\right )}{2 d}\right ) \left (\begin {cases} \frac {\log {\left (2 \sqrt {d} \sqrt {c + d x^{2}} + 2 d x \right )}}{\sqrt {d}} & \text {for}\: c \neq 0 \\\frac {x \log {\left (x \right )}}{\sqrt {d x^{2}}} & \text {otherwise} \end {cases}\right ) & \text {for}\: d \neq 0 \\c^{\frac {3}{2}} \left (a^{2} x + \frac {2 a b x^{3}}{3} + \frac {b^{2} x^{5}}{5}\right ) & \text {otherwise} \end {cases} \]
[In]
[Out]
none
Time = 0.19 (sec) , antiderivative size = 227, normalized size of antiderivative = 1.16 \[ \int \left (a+b x^2\right )^2 \left (c+d x^2\right )^{3/2} \, dx=\frac {{\left (d x^{2} + c\right )}^{\frac {5}{2}} b^{2} x^{3}}{8 \, d} + \frac {1}{4} \, {\left (d x^{2} + c\right )}^{\frac {3}{2}} a^{2} x + \frac {3}{8} \, \sqrt {d x^{2} + c} a^{2} c x - \frac {{\left (d x^{2} + c\right )}^{\frac {5}{2}} b^{2} c x}{16 \, d^{2}} + \frac {{\left (d x^{2} + c\right )}^{\frac {3}{2}} b^{2} c^{2} x}{64 \, d^{2}} + \frac {3 \, \sqrt {d x^{2} + c} b^{2} c^{3} x}{128 \, d^{2}} + \frac {{\left (d x^{2} + c\right )}^{\frac {5}{2}} a b x}{3 \, d} - \frac {{\left (d x^{2} + c\right )}^{\frac {3}{2}} a b c x}{12 \, d} - \frac {\sqrt {d x^{2} + c} a b c^{2} x}{8 \, d} + \frac {3 \, b^{2} c^{4} \operatorname {arsinh}\left (\frac {d x}{\sqrt {c d}}\right )}{128 \, d^{\frac {5}{2}}} - \frac {a b c^{3} \operatorname {arsinh}\left (\frac {d x}{\sqrt {c d}}\right )}{8 \, d^{\frac {3}{2}}} + \frac {3 \, a^{2} c^{2} \operatorname {arsinh}\left (\frac {d x}{\sqrt {c d}}\right )}{8 \, \sqrt {d}} \]
[In]
[Out]
none
Time = 0.31 (sec) , antiderivative size = 175, normalized size of antiderivative = 0.89 \[ \int \left (a+b x^2\right )^2 \left (c+d x^2\right )^{3/2} \, dx=\frac {1}{384} \, {\left (2 \, {\left (4 \, {\left (6 \, b^{2} d x^{2} + \frac {9 \, b^{2} c d^{6} + 16 \, a b d^{7}}{d^{6}}\right )} x^{2} + \frac {3 \, b^{2} c^{2} d^{5} + 112 \, a b c d^{6} + 48 \, a^{2} d^{7}}{d^{6}}\right )} x^{2} - \frac {3 \, {\left (3 \, b^{2} c^{3} d^{4} - 16 \, a b c^{2} d^{5} - 80 \, a^{2} c d^{6}\right )}}{d^{6}}\right )} \sqrt {d x^{2} + c} x - \frac {{\left (3 \, b^{2} c^{4} - 16 \, a b c^{3} d + 48 \, a^{2} c^{2} d^{2}\right )} \log \left ({\left | -\sqrt {d} x + \sqrt {d x^{2} + c} \right |}\right )}{128 \, d^{\frac {5}{2}}} \]
[In]
[Out]
Timed out. \[ \int \left (a+b x^2\right )^2 \left (c+d x^2\right )^{3/2} \, dx=\int {\left (b\,x^2+a\right )}^2\,{\left (d\,x^2+c\right )}^{3/2} \,d x \]
[In]
[Out]